افزونه W3 Total Cache

توضیحات

W3 Total Cache (W3TC) با افزایش کارایی وب‌سایت و کاهش زمان بارگذاری، از طریق قابلیت‌هایی مانند یکپارچه‌سازی شبکه تحویل محتوا (CDN) و استفاده از جدیدترین بهترین روش‌ها، سئو، Core Web Vitals و تجربهٔ کاربری کلی سایت شما را بهبود می‌دهد.

W3TC تنها چارچوب بهینه‌سازی عملکرد وب (WPO) مستقل از هاست برای وردپرس است که برای بیش از یک دهه مورد اعتماد میلیون‌ها ناشر، توسعه‌دهنده وب و میزبان وب در سراسر جهان بوده است. این یک راه حل عملکردی کامل برای بهینه‌سازی وب‌سایت‌های وردپرس است.

BENEFITS

  • Improvements in search engine result page rankings, especially for mobile-friendly websites and sites that use SSL
  • حداقل ۱۰ برابر بهبود در کارایی کلی سایت (دریافت درجه A در WebPagetest یا بهبود قابل توجه در Google PageSpeed) در صورت پیکربندی کامل
  • Improved conversion rates and “site performance” which affect your site’s rank on Google.com
  • “Instant” repeat page views: browser caching
  • Optimized progressive render: pages start rendering quickly and can be interacted with more quickly
  • Reduced page load time: increased visitor time on site; visitors view more pages
  • Improved web server performance; sustain high traffic periods
  • تا ۸۰٪ صرفه‌جویی در پهنای باند هنگامی که پرونده‌های HTML، CSS و جاوا اسکریپت را کوچک‌سازی می‌کنید.

ویژگی های کلیدی

  • Compatible with shared hosting, virtual private / dedicated servers and dedicated servers / clusters
  • Transparent content delivery network (CDN) management with Media Library, theme files and WordPress itself
  • Mobile support: respective caching of pages by referrer or groups of user agents including theme switching for groups of referrers or user agents
  • Accelerated Mobile Pages (AMP) support
  • پشتیبانی از Secure Socket Layer (SSL/TLS)
  • Caching of (minified and compressed) pages and posts in memory or on disk or on (FSD) CDN (by user agent group)
  • Caching of feeds (site, categories, tags, comments, search results) in memory or on disk or on CDN
  • Caching of feeds (site, categories, tags, comments, search results) in memory or on disk or on CDN
  • Caching of search results pages (i.e., URIs with query string variables) in memory or on disk
  • Caching of database objects in memory or on disk
  • Caching of objects in memory or on disk
  • Caching of fragments in memory or on disk
  • روش‌های کش شامل دیسک محلی، Redis، Memcached، APC، APCu، eAccelerator، XCache و WinCache
  • کوچک‌سازی CSS، کوچک‌سازی جاوا اسکریپت و کوچک‌سازی HTML با کنترل دقیق
  • فشرده‌سازی (Minify) نوشته‌ها، برگه‌ها و خوراک‌های RSS
  • فشرده‌سازی (Minify) جاوااسکریپت‌های درون‌خطی، تعبیه‌شده یا شخص ثالث همراه با به‌روزرسانی خودکار فایل‌های asset
  • فشرده‌سازی (Minify) CSSهای درون‌خطی، تعبیه‌شده یا شخص ثالث همراه با به‌روزرسانی خودکار فایل‌های asset
  • Defer non-critical CSS and JavaScript for rendering pages faster than ever before
  • به تاخیر انداختن تصاویر خارج از صفحه با استفاده از بارگذاری تنبل (Lazy Load) برای بهبود تجربه کاربری
  • Browser caching using cache-control, future expire headers and entity tags (ETag) with “cache-busting”
  • JavaScript grouping by template (home page, post page etc) with embed location control
  • Non-blocking JavaScript embedding
  • Import post attachments directly into the Media Library (and CDN)
  • بهره‌گیری از ادغام‌های متعدد CDN ما برای بهینه‌سازی تصاویر
  • WP-CLI support for cache purging, query string updating and more
  • ویژگی‌های امنیتی مختلف برای کمک به تضمین ایمنی وب‌سایت
  • آمار کش برای بینش عملکردی از هر ویژگی فعال شده
  • چارچوب افزونه‌های جانبی برای سفارشی‌سازی یا قابلیت گسترش برای Cloudflare، WPML و موارد دیگر
  • Reverse proxy integration via Nginx or Varnish
  • افزونه جانبی مبدل تصویر (Image Converter) قابلیت تبدیل فرمت‌های رایج تصویر به فرمت‌های مدرن (مانند WebP، AVIF) را (هنگام بارگذاری و در لحظه) فراهم می‌کند

ویژگی‌های W3 Total Cache Pro

با بیش از یک میلیون نصب فعال، W3 Total Cache جامع‌ترین افزونه کش وردپرس موجود است و دارای ویژگی‌های ممتاز و قدرتمندی است که به ارائه یک تجربه کاربری استثنایی کمک می‌کند.

  • تحویل کامل سایت: ارائه کل سایت شما از طریق یک شبکه تحویل محتوا (CDN)، جهت تضمین زمان بارگذاری سریع‌تر در سراسر جهان.
  • کش قطعه (Fragment Cache): بهینه‌سازی کش محتوای پویا در حالی که همچنان عملکرد را بهبود می‌بخشد.
  • کش REST API: افزایش سرعت سایت وردپرس بدون سر (Headless) با کش کردن فراخوانی‌های REST API.
  • حذف CSS مسدودکننده رندر: اطمینان حاصل کنید که CSS شما مانع بارگذاری برگه نمی‌شود تا اولین ترسیم سریع‌تر انجام شود.
  • تاخیر در اسکریپت‌ها: بهبود عملکرد با به تاخیر انداختن بارگذاری اسکریپت‌های غیرضروری تا زمانی که به آن‌ها نیاز باشد.
  • پیش‌بارگذاری درخواست‌ها: افزایش عملکرد برگه با پیش‌بارگذاری منابع حیاتی قبل از درخواست آن‌ها.
  • حذف CSS/JS: پاکسازی پرونده‌های غیرضروری CSS و جاوا اسکریپت که سرعت برگه‌های شما را کاهش می‌دهند.
  • بارگذاری تنبل نقشه‌های گوگل: بارگذاری نقشه‌های گوگل فقط زمانی که قابل مشاهده هستند، جهت کاهش درخواست‌های غیرضروری.
  • افزونه جانبی WPML: بهینه‌سازی عملکرد در سایت‌های چندزبانه که از WPML استفاده می‌کنند.
  • آمار کش: جزئیات دقیقی درباره میزان استفاده از کش و بهبودهای عملکردی به دست آورید.
  • پاکسازی گزارش‌ها: با پاکسازی خودکار گزارش‌های غیرضروری کش، سایت خود را تمیز نگه دارید.

ضمانت ۳۰ روزه بازگشت وجه

افزونه W3 Total Cache Pro را بدون ریسک و با ضمانت ۳۰ روزه بازگشت وجه ما امتحان نمایید. اگر راضی نبودید، مبلغ خرید شما را بازپرداخت خواهیم کرد.

بهبود امتیاز PAGESPEED

برای کمک به شما در درک تاثیر هر یک از ویژگی‌ها بر عملکرد وب‌سایت‌تان، ما هر ویژگی را به‌طور جداگانه آزمایش کردیم تا اثر آن را بر امتیازات Google PageSpeed بسنجیم. در حالی که نتایج بهینه از پیکربندی چندین ابزار مختلف کش با هم به دست می‌آید، ویژگی‌های جداگانه زیر نیز به تنهایی بهبودهای قابل توجهی را نشان می‌دهند:

حذف CSS/JS استفاده نشده

این ویژگی پرونده‌های CSS و جاوا اسکریپتی را که برای برگه فعلی مورد نیاز نیستند حذف می‌کند و زمان بارگذاری را کاهش می‌دهد.

  • افزودن بیش از ۲۷ امتیاز به نمره Google PageSpeed (قبل: ۵۷.۲ / بعد: ۸۶.۷)
  • کاهش صرفه‌جویی احتمالی از جاوا اسکریپت استفاده نشده از ۱۲۷.۵ کیلوبایت به ۸۴ کیلوبایت
  • مشاهده نتایج آزمایش

تحویل کامل سایت

تحویل کامل سایت، تحویل کل سایت شما را بهینه کرده و زمان پاسخگویی سرور را بهبود می‌بخشد.

  • افزودن ۹۹٪ بهبود عملکرد به میانگین زمان پاسخگویی سرور (قبل: ۳۴۱۳ میلی‌ثانیه / بعد: ۳۴ میلی‌ثانیه)
  • مشاهده نتایج آزمایش

حذف CSS مسدودکننده رندر

این ویژگی CSSهایی که مانع رندر شدن برگه شما می‌شوند را حذف کرده و زمان بارگذاری اولیه را سرعت می‌بخشد.

  • افزودن بیش از ۱۷ امتیاز به نمره Google PageSpeed (قبل: ۵۳.۷۵ / بعد: ۷۱)
  • کاهش صرفه‌جویی احتمالی از منابع مسدودکننده رندر به میزان بیش از ۹۴٪ (قبل: ۲۴۳۲.۵ میلی‌ثانیه / بعد: ۱۲۵ میلی‌ثانیه)
  • بهبود زمان بزرگترین رنگ‌آمیزی محتوایی (LCP) به میزان بیش از ۵۶٪ (قبل: ۷ ثانیه / بعد: ۳.۰۴ ثانیه)
  • مشاهده نتایج آزمایش

تاخیر در اسکریپت‌ها

تاخیر در اسکریپت‌ها بارگذاری اسکریپت‌های خاصی را تا زمانی که نیاز باشند به تعویق می‌اندازد و زمان بارگذاری اولیه را کاهش می‌دهد.

  • افزودن ۱۴ امتیاز به نمره عملکرد Google PageSpeed (قبل: ۵۴.۲۵ / بعد: ۶۸.۵)
  • کاهش زمانی که کد شخص‌ثالث رشته اصلی (Main Thread) را مسدود کرده بود به میزان ۶۲٪ (قبل: ۸۲۵ میلی‌ثانیه / بعد: ۱۹۷.۵ میلی‌ثانیه)
  • مشاهده نتایج آزمایش

کش Rest API

این ویژگی پاسخ‌های API را کش می‌کند، بار سرور را کاهش داده و تعاملات API را سرعت می‌بخشد.

  • کاهش میانگین بار سرور به میزان ۴۰٪ (قبل: ۰.۶۲ / بعد: ۰.۳۷)
  • افزایش سرعت پاسخ‌های API به میزان ۸۴.۵٪ (قبل: ۹۶۸ میلی‌ثانیه / بعد: ۱۵۰ میلی‌ثانیه)
  • کاهش میانگین بار سرور به میزان ۲۴٪ در طول یک پیک ترافیکی بزرگ (قبل: ۳۴.۵۵ / بعد: ۲۶.۱۹)
  • مشاهده نتایج آزمایش

فرمت‌های مدرن تصویر

تصاویر را به فرمت‌های مدرن مانند WebP یا AVIF تبدیل می‌کند که کارآمدتر هستند و سریع‌تر بارگذاری می‌شوند.

بارگذاری تنبل نقشه‌های گوگل

بارگذاری نقشه‌های گوگل را تا زمانی که کاربر با آن‌ها تعامل داشته باشد به تاخیر می‌اندازد و زمان بارگذاری اولیه را کاهش می‌دهد.

  • افزودن ۱۰ امتیاز به نمره Google PageSpeed (قبل: ۶۶ / بعد: ۷۶)
  • کاهش امتیاز عملکرد زمان مسدودی کل (Total Blocking Time) به میزان ۷۲٪ (قبل: ۲۸۷.۵ میلی‌ثانیه / بعد: ۸۰ میلی‌ثانیه)
  • مشاهده نتایج آزمایش

سرعت سایت خود را به طرز فوق‌العاده‌ای افزایش دهید، شاخص‌های حیاتی وب و تجربه کاربری کلی بازدیدکنندگان خود را بدون نیاز به تغییر هاست وردپرس، پوسته، افزونه‌ها یا گردش کار تولید محتوای خود بهبود ببخشید.

What users have to say:

Who do I thank for all of this?

It’s quite difficult to recall all of the innovators that have shared their thoughts, code and experiences in the blogosphere over the years, but here are some names to get you started:

Please reach out to all of these people and support their projects if you’re so inclined.

نصب

  1. Deactivate and uninstall any other caching plugin you may be using. Pay special attention if you have customized the rewrite rules for fancy permalinks, have previously installed a caching plugin or have any browser caching rules as W3TC will automate management of all best practices. Also make sure wp-content/ and wp-content/uploads/ (temporarily) have 777 permissions before proceeding, e.g. in the terminal: # chmod 777 /var/www/vhosts/domain.com/httpdocs/wp-content/ using your web hosting control panel or your FTP / SSH account.
  2. Login as an administrator to your WordPress Admin account. Using the “Add New” menu option under the “Plugins” section of the navigation, you can either search for: w3 total cache or if you’ve downloaded the plugin already, click the “Upload” link, find the .zip file you download and then click “Install Now”. Or you can unzip and FTP upload the plugin to your plugins directory (wp-content/plugins/). In either case, when done wp-content/plugins/w3-total-cache/ should exist.
  3. Locate and activate the plugin on the “Plugins” page. Page caching will automatically be running in basic mode. Set the permissions of wp-content and wp-content/uploads back to 755, e.g. in the terminal: # chmod 755 /var/www/vhosts/domain.com/httpdocs/wp-content/.
  4. Now click the “Settings” link to proceed to the “General Settings” tab; in most cases, “disk enhanced” mode for page cache is a “good” starting point.
  5. The “Compatibility mode” option found in the advanced section of the “Page Cache Settings” tab will enable functionality that optimizes the interoperablity of caching with WordPress, is disabled by default, but highly recommended. Years of testing in hundreds of thousands of installations have helped us learn how to make caching behave well with WordPress. The tradeoff is that disk enhanced page cache performance under load tests will be decreased by ~20% at scale.
  6. Recommended: On the “Minify Settings” tab, all of the recommended settings are preset. If auto mode causes issues with your web site’s layout, switch to manual mode and use the help button to simplify discovery of your CSS and JS files and groups. Pay close attention to the method and location of your JS group embeddings. See the plugin’s FAQ for more information on usage.
  7. Recommended: On the “Browser Cache” tab, HTTP compression is enabled by default. Make sure to enable other options to suit your goals.
  8. Recommended: If you already have a content delivery network (CDN) provider, proceed to the “Content Delivery Network” tab and populate the fields and set your preferences. If you do not use the Media Library, you will need to import your images etc into the default locations. Use the Media Library Import Tool on the “Content Delivery Network” tab to perform this task. If you do not have a CDN provider, you can still improve your site’s performance using the “Self-hosted” method. On your own server, create a subdomain and matching DNS Zone record; e.g. static.domain.com and configure FTP options on the “Content Delivery Network” tab accordingly. Be sure to FTP upload the appropriate files, using the available upload buttons.
  9. Optional: On the “Database Cache” tab, the recommended settings are preset. If using a shared hosting account use the “disk” method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Try object caching instead for shared hosting.
  10. Optional: On the “Object Cache” tab, all of the recommended settings are preset. If using a shared hosting account use the “disk” method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Test this option with and without database cache to ensure that it provides a performance increase.
  11. Optional: On the “User Agent Groups” tab, specify any user agents, like mobile phones if a mobile theme is used.

سوالات متداول

Why does speed matter?

Search engines like Google, measure and factor in the speed of web sites in their ranking algorithm. When they recommend a site they want to make sure users find what they’re looking for quickly. So in effect you and Google should have the same objective.

Speed is among the most significant success factors web sites face. In fact, your site’s speed directly affects your income (revenue) — it’s a fact. Some high traffic sites conducted research and uncovered the following:

  • Google.com: +500 ms (speed decrease) -> -20% traffic loss [1]
  • Yahoo.com: +400 ms (speed decrease) -> -5-9% full-page traffic loss (visitor left before the page finished loading) [2]
  • Amazon.com: +100 ms (speed decrease) -> -1% sales loss [1]

یک هزارم ثانیه زمان زیادی نیست، اما تاثیر آن کاملاً قابل توجه است. حتی اگر شرکت بزرگی نیستید (یا فقط امیدوارید که به یکی تبدیل شوید)، یک ضرر هنوز یک ضرر است. W3 Total Cache راه حل شما برای وب‌سایت‌های سریع‌تر، بازدیدکنندگان شادتر و نتایج بهتر است.

Many of the other consequences of poor performance were discovered more than a decade ago:

  • Lower perceived credibility (Fogg et al. 2001)
  • Lower perceived quality (Bouch, Kuchinsky, and Bhatti 2000)
  • Increased user frustration (Ceaparu et al. 2004)
  • Increased blood pressure (Scheirer et al. 2002)
  • Reduced flow rates (Novak, Hoffman, and Yung 200)
  • Reduced conversion rates (Akamai 2007)
  • Increased exit rates (Nielsen 2000)
  • Are perceived as less interesting (Ramsay, Barbesi, and Preece 1998)
  • Are perceived as less attractive (Skadberg and Kimmel 2004)

There are a number of resources that have been documenting the role of performance in success on the web, W3 Total Cache exists to give you a framework to tune your application or site without having to do years of research.

Why is W3 Total Cache better than other caching solutions?

این یک چارچوب کامل است. بیشتر افزونه‌های کش موجود در ایجاد چند بهبود کارایی عملکرد خوبی دارند. اما Total Cache متفاوت است زیرا جنبه‌های متعددی از عوامل کاهش‌دهندهٔ کارایی در هر وب‌سایتی را برطرف می‌کند. این افزونه فراتر از اصول اولیه عمل می‌کند و تنها به کاهش مصرف CPU (بار) یا پهنای باند برای صفحات HTML محدود نمی‌شود. همچنین برای شروع، هیچ تغییری در قالب، فایل .htaccess (قوانین mod_rewrite) یا برنامه‌نویسی نیاز ندارد. مهم‌تر از همه، این تنها افزونه‌ای است که برای بهینه‌سازی انواع محیط‌های میزبانی، چه کوچک و چه بزرگ، طراحی شده است. گزینه‌های زیادی در اختیار دارید و راه‌اندازی آن ساده است.

I’ve never heard of any of this stuff; my site is fine, no one complains about the speed. Why should I install this?

Rarely do readers take the time to complain. They typically just stop browsing earlier than you’d prefer and may not return altogether. This is the only plugin specifically designed to make sure that all aspects of your site are as fast as possible. Google is placing more emphasis on the speed of a site as a factor in rankings; this plugin helps with that too.

It’s in every web site owner’s best interest is to make sure that the performance of your site is not hindering its success.

Which WordPress versions are supported?

To use all features in the suite, WordPress 6.0 or higher with PHP 7.4 or higher is required.

Why doesn’t minify work for me?

Great question. W3 Total Cache uses several open source tools to attempt to combine and optimize CSS, JavaScript and HTML etc. Unfortunately some trial and error is required on the part of developers is required to make sure that their code can be successfully minified with the various libraries W3 Total Cache supports. Even still, if developers do test their code thoroughly, they cannot be sure that interoperability with other code your site may have. This fault does not lie with any single party here, because there are thousands of plugins and theme combinations that a given site can have, there are millions of possible combinations of CSS, JavaScript etc.

A good rule of thumb is to try auto mode, work with a developer to identify the code that is not compatible and start with combine only mode (the safest optimization) and increase the optimization to the point just before functionality (JavaScript) or user interface / layout (CSS) breaks in your site.

We’re always working to make this more simple and straight forward in future releases, but this is not an undertaking we can realize on our own. When you find a plugin, theme or file that is not compatible with minification reach out to the developer and ask them either to provide a minified version with their distribution or otherwise make sure their code is minification-friendly.

What about comments? Does the plugin slow down the rate at which comments appear?

On the contrary, as with any other action a user can perform on a site, faster performance will encourage more of it. The cache is so quickly rebuilt in memory that it’s no trouble to show visitors the most current version of a post that’s experiencing Digg, Slashdot, Drudge Report, Yahoo Buzz or Twitter effect.

Will the plugin interfere with other plugins or widgets?

No, on the contrary if you use the minify settings you will improve their performance by several times.

Does this plugin work with WordPress in network mode?

Indeed it does.

Does this plugin work with BuddyPress (bbPress)?

بله.

Will this plugin speed up WP Admin?

Yes, indirectly – if you have a lot of bloggers working with you, you will find that it feels like you have a server dedicated only to WP Admin once this plugin is enabled; the result, increased productivity.

Which web servers do you support?

We are aware of no incompatibilities with apache 1.3+, nginx 0.7+, IIS 5+ or litespeed 4.0.2+. If there’s a web server you feel we should be actively testing (e.g. lighttpd), we’re interested in hearing.

Is this plugin server cluster and load balancer friendly?

Yes, built from the ground up with scale and current hosting paradigms in mind.

What is the purpose of the “Media Library Import” tool and how do I use it?

The media library import tool is for old or “messy” WordPress installations that have attachments (images etc in posts or pages) scattered about the web server or “hot linked” to 3rd party sites instead of properly using the media library.

The tool will scan your posts and pages for the cases above and copy them to your media library, update your posts to use the link addresses and produce a .htaccess file containing the list of of permanent redirects, so search engines can find the files in their new location.

You should backup your database before performing this operation.

How do I find the JS and CSS to optimize (minify) them with this plugin?

Use the “Help” button available on the Minify settings tab. Once open, the tool will look for and populate the CSS and JS files used in each template of the site for the active theme. To then add a file to the minify settings, click the checkbox next to that file. The embed location of JS files can also be specified to improve page render performance. Minify settings for all installed themes can be managed from the tool as well by selecting the theme from the drop down menu. Once done configuring minify settings, click the apply and close button, then save settings in the Minify settings tab.

I don’t understand what a CDN has to do with caching, that’s completely different, no?

از نظر فنی خیر، یک CDN کشی با عملکرد بالاست که دارایی‌های ایستا (پرونده‌های پوسته شما، کتابخانه رسانه و غیره) را در مکان‌های مختلف در سراسر جهان ذخیره می‌کند تا دسترسی با تاخیر کم را برای خوانندگان در آن مناطق فراهم کند. از Total Cache برای سرعت بخشیدن به سایت خود با نزدیک‌تر کردن محتوا به کاربران‌تان، با استفاده از ادغام‌های متعدد CDN ما از جمله Cloudflare، StackPath، AWS و غیره استفاده نمایید.

How do I use an Origin Pull (Mirror) CDN?

Login to your CDN providers control panel or account management area. Following any set up steps they provide, create a new “pull zone” or “bucket” for your site’s domain name. If there’s a set up wizard or any troubleshooting tips your provider offers, be sure to review them. In the CDN tab of the plugin, enter the hostname your CDN provider provided in the “replace site’s hostname with” field. You should always do a quick check by opening a test file from the CDN hostname, e.g. http://cdn.domain.com/favicon.ico. Troubleshoot with your CDN provider until this test is successful.

Now go to the General tab and click the checkbox and save the settings to enable CDN functionality and empty the cache for the changes to take effect.

How do I configure Amazon Simple Storage Service (Amazon S3) or Amazon CloudFront as my CDN?

First create an S3 account (unless using origin pull); it may take several hours for your account credentials to be functional. Next, you need to obtain your “Access key ID” and “Secret key” from the “Access Credentials” section of the “Security Credentials” page of “My Account.” Make sure the status is “active.” Next, make sure that “Amazon Simple Storage Service (Amazon S3)” is the selected “CDN type” on the “General Settings” tab, then save the changes. Now on the “Content Delivery Network Settings” tab enter your “Access key,” “Secret key” and enter a name (avoid special characters and spaces) for your bucket in the “Create a bucket” field by clicking the button of the same name. If using an existing bucket simply specify the bucket name in the “Bucket” field. Click the “Test S3 Upload” button and make sure that the test is successful, if not check your settings and try again. Save your settings.

Unless you wish to use CloudFront, you’re almost done, skip to the next paragraph if you’re using CloudFront. Go to the “General Settings” tab and click the “Enable” checkbox and save the settings to enable CDN functionality. Empty the cache for the changes to take effect. If preview mode is active you will need to “deploy” your changes for them to take effect.

To use CloudFront, perform all of the steps above, except select the “Amazon CloudFront” “CDN type” in the “Content Delivery Network” section of the “General Settings” tab. When creating a new bucket, the distribution ID will automatically be populated. Otherwise, proceed to the AWS Management Console and create a new distribution: select the S3 Bucket you created earlier as the “Origin,” enter a CNAME if you wish to add one or more to your DNS Zone. Make sure that “Distribution Status” is enabled and “State” is deployed. Now on “Content Delivery Network” tab of the plugin, copy the subdomain found in the AWS Management Console and enter the CNAME used for the distribution in the “CNAME” field.

You may optionally, specify up to 10 hostnames to use rather than the default hostname, doing so will improve the render performance of your site’s pages. Additional hostnames should also be specified in the settings for the distribution you’re using in the AWS Management Console.

Now go to the General tab and click the “Enable” checkbox and save the settings to enable CDN functionality and empty the cache for the changes to take effect. If preview mode is active you will need to “deploy” your changes for them to take effect.

How do I configure Rackspace Cloud Files as my CDN?

First create an account. Next, in the “Content Delivery Network” section of the “General Settings” tab, select Rackspace Cloud Files as the “CDN Type.” Now, in the “Configuration” section of the “Content Delivery Network” tab, enter the “Username” and “API key” associated with your account (found in the API Access section of the rackspace cloud control panel) in the respective fields. Next enter a name for the container to use (avoid special characters and spaces). If the operation is successful, the container’s ID will automatically appear in the “Replace site’s hostname with” field. You may optionally, specify the container name and container ID of an existing container if you wish. Click the “Test Cloud Files Upload” button and make sure that the test is successful, if not check your settings and try again. Save your settings. You’re now ready to export your media library, theme and any other files to the CDN.

You may optionally, specify up to 10 hostnames to use rather than the default hostname, doing so will improve the render performance of your site’s pages.

Now go to the General tab and click the “Enable” checkbox and save the settings to enable CDN functionality and empty the cache for the changes to take effect. If preview mode is active you will need to “deploy” your changes for them to take effect.

What is the purpose of the “modify attachment URLs” button?

If the domain name of your site has changed, this tool is useful in updating your posts and pages to use the current addresses. For example, if your site used to be www.domain.com, and you decided to change it to domain.com, the result would either be many “broken” images or many unnecessary redirects (which slow down the visitor’s browsing experience). You can use this tool to correct this and similar cases. Correcting the URLs of your images also allows the plugin to do a better job of determining which images are actually hosted with the CDN.

As always, it never hurts to back up your database first.

Is this plugin comptatible with TDO Mini Forms?

Captcha and recaptcha will work fine, however you will need to prevent any pages with forms from being cached. Add the page’s URI to the “Never cache the following pages” box on the Page Cache Settings tab.

Is this plugin comptatible with GD Star Rating?

Yes. Follow these steps:

  1. Enable dynamic loading of ratings by checking GD Star Rating -> Settings -> Features “Cache support option”
  2. If Database cache enabled in W3 Total Cache add wp_gdsr to “Ignored query stems” field in the Database Cache settings tab, otherwise ratings will not updated after voting
  3. خالی کردن همه کش

I see garbage characters instead of the normal web site, what’s going on here?

If a theme or it’s files use the call php_flush() or function flush() that will interfere with the plugins normal operation; making the plugin send cached files before essential operations have finished. The flush() call is no longer necessary and should be removed.

How do I cache only the home page?

Add /.+ to page cache “Never cache the following pages” option on the page cache settings tab.

I’m getting blank pages or 500 error codes when trying to upgrade on WordPress in network mode

First, make sure the plugin is not active (disabled) network-wide. Then make sure it’s deactivated network-wide. Now you should be able to successful upgrade without breaking your site.

A notification about file owner appears along with an FTP form, how can I resolve this?

The plugin uses WordPress FileSystem functionality to write to files. It checks if the file owner, file owner group of created files match process owner. If this is not the case it cannot write or modify files.

Typically, you should tell your web host about the permission issue and they should be able to resolve it.

You can however try adding define(‘FS_METHOD’, ‘direct’); to wp-config.php to circumvent the file and folder checks.

آیا افزونه جانبی مبدل تصویر (Image Converter) منابع زیادی را برای تبدیل تصاویر به فرمت‌های مدرن مانند WebP یا AVIF مصرف می‌کند؟

خیر. افزونه جانبی مبدل تصویر (Image Converter) فرمت‌های رایج پرونده تصویر را با استفاده از سرویس‌های API ما به فرمت‌های مدرن مانند WebP یا AVIF تبدیل می‌کند. تبدیل‌ها در سرویس API ما رخ می‌دهند، بنابراین مصرف منابع تاثیری بر سرور وب‌سایت شما ندارد.

آیا داده‌های تصویر توسط API مبدل تصویر Total Cache نگهداری می‌شوند؟

داده‌های تصویر دریافت شده توسط API ما پس از تولید تصویر تبدیل شده حذف می‌شوند. تصاویر تبدیل شده نیز به محض اینکه توسط افزونه Total Cache در وب‌سایت شما دریافت یا بارگیری شوند، حذف می‌گردند.

This is too good to be true, how can I test the results?

شما می‌توانید نتایج را فوراً در هر بارگذاری برگه مشاهده نمایید، اما برای معیارهای ملموس، باید از ابزارهای زیر استفاده کنید:

I don’t have time to deal with this, but I know I need it. Will you help me?

Yes! Please reach out to us and we’ll get you acclimated so you can “set it and forget it.”

Install the plugin to read the full FAQ on the plugins FAQ tab.

کجا باید باگ‌های امنیتی یافت شده در این افزونه را گزارش دهم؟

لطفاً باگ‌های امنیتی یافت شده در کد منبع افزونه W3 Total Cache را از طریق برنامه افشای آسیب‌پذیری Patchstack گزارش دهید. تیم Patchstack در تایید، اختصاص CVE و اطلاع‌رسانی به توسعه‌دهندگان این افزونه به شما کمک خواهد کرد.

نقد و بررسی‌ها

25 ژوئن 2026
After installing W3 Total Cache, I noticed a significant improvement in my website’s loading speed. The plugin offers many optimization options and helped reduce page load times, improving the overall user experience. It took a little time to configure properly, but the results were definitely worth it. If you’re serious about improving your WordPress site’s performance, this plugin is an excellent choice.
6 آوریل 2026 1 پاسخ
Worked great for years, I setup redis for page cache and it worked great then one day it will no longer recognize my redis auth (nothing changed) and now I get millions of errors a day making my error logs usesless and changing settings turning off redis, reinstalling the plugin, nothing will stop the errors. This plugin has fucked all our websites that we setup redis for with no communication or acknowledgement from their team.So the plugin works great then you rely on it and get comfortable then after a couple years it breaks your website to try and pressure you to purchase their paid only support. I can’t think of anything more scummy.A.I. search engines, seo, reddit. Anyone looking up this plugin on the internet will see my content warning people about this company going forward.
31 مارس 2026 1 پاسخ
I’ve been a long-time user of W3 Total Cache and have generally appreciated its performance benefits over the years. However, my recent experience with version 2.9.3 was quite concerning. After updating, the JSON API stopped working and I was unable to edit content for a while, which disrupted normal operations. I would strongly recommend more thorough testing before releasing updates, especially for critical functionality. Unfortunately, after this experience, I’m hesitant to continue using or recommending the plugin.
6 مارس 2026 4 پاسخ
A serious security issue was discovered in the plugin two weeks ago, leaving it vulnerable. No updated version has been released yet. Worst of all, they’re deleting comments requesting updates on this issue. This is unprofessional and arrogant behavior, disregarding the needs of thousands of webmasters and customers. Shame on you!
14 فوریه 2026
It’s powerful on it’s own, and almost mandatory.
خواندن تمامی 5,419 نقد و بررسی‌

توسعه دهندگان و همکاران

“افزونه W3 Total Cache” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“افزونه W3 Total Cache” به 20 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “افزونه W3 Total Cache” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید، مخزن SVN را بررسی کنید، یا از طریق RSS در گزارش توسعه مشترک شوید.

گزارش تغییرات

2.10.1

  • Fix: General Settings: “The link you followed has expired” when emptying all caches
  • Fix: Redis/Memcached/CDN: Restore connection handling after 2.10.0 at-rest credential encryption
  • Fix: At-rest credentials: Defer encryption until WordPress salts are available
  • Fix: Always Cached: Queue regeneration on nginx with Disk: Enhanced page cache
  • Fix: mfunc: Render unrecognized dynamic-fragment tags as empty output
  • Fix: Apache: Remove Options -MultiViews from root .htaccess (HTTP 500 on restrictive AllowOverride)
  • Fix: Multisite: Admin page links in network admin

2.10.0

  • Security: Hardened authorization, capability, and request-verification (nonce/CSRF) checks across admin and AJAX endpoints
  • Security: Improved input validation and output escaping to prevent cross-site scripting (XSS)
  • Security: Strengthened protections against code, command, and file-inclusion injection
  • Security: Hardened processing of dynamic and cached content, including data serialization
  • Security: Restricted outbound server-side requests to mitigate server-side request forgery (SSRF)
  • Security: Restricted configuration changes to prevent unauthorized modification
  • Security: Improved handling of stored credentials, cookies, and generated server-configuration files
  • Security: Reduced potential information disclosure and improved security logging

2.9.4

  • Fix: Output buffering: Reverted to the previous output buffering from 2.9.1
  • رفع: Cloudflare: اعتبارسنجی توکن/کلید.
  • Fix: Prevent mfunc processing bypass by user-agent

2.9.3

  • رفع: بافر خروجی: دور ریختن محتوای بافرهای تو‌در‌تو (OB) برای پاسخ‌های غیر HTML (JSON/AJAX) به‌منظور جلوگیری از قرار گرفتن محتوای HTML در ابتدای خروجی JSON.
  • رفع: بافر خروجی: افزودن فیلترهای wp_die_ajax_handler و wp_die_json_handler برای مدیریت صحیح مسیرهای توقف (die) در درخواست‌های AJAX.
  • رفع: کش صفحه: به‌دلیل رد شدن زنجیره بافر خروجی برای پاسخ‌های غیر HTML، پاسخ‌های REST API دیگر کش نمی‌شوند.
  • Fix: Lazy load: Add debounced MutationObserver so images injected by AJAX plugins (e.g., FacetWP) are processed without requiring per-plugin integration; also fix async_head embed method not updating window.w3tc_lazyload to the live LazyLoad instance after initialization

2.9.2

  • رفع: اصلاح کنترل دسترسی مختل‌شده برای عملیات AJAX سرویس تصویر (Image Service).
  • رفع: خطای بحرانی در بافر خروجی پویا برای mfunc که باعث نمایش صفحات خالی می‌شد.
  • رفع: برطرف کردن آسیب‌پذیری امنیتی mfunc.

2.9.1

  • رفع خطا: مبدل تصویر: بازنشانی درخواست هنگامی که وضعیت ۴۰۴ است
  • رفع خطا: مبدل تصویر: مدیریت بهتر درخواست‌های فرمت جداگانه
  • رفع خطا: مبدل تصویر: تغییرات رابط کاربری/جاوا اسکریپت
  • رفع خطا: مشکل کش کردن/ذخیره‌سازی پیکربندی

2.9.0

  • ویژگی: تبدیل تصویر AVIF نسل بعدی (نسخه Pro)
  • ویژگی: افزودن اعلان‌ها برای برخی مشکلات صورت‌حساب
  • رفع خطا: بخش پاکسازی Bunny CDN
  • رفع خطا: API نیو رلیک
  • رفع خطا: سازگاری سوکت یونیکس Nginx + Memcached
  • به‌روزرسانی: بهبودهای جادوگر راهنمای راه‌اندازی و آزمایش
  • به‌روزرسانی: نام WebP Converter به Image Converter تغییر یافت

2.8.15

  • رفع خطا: المنتور: بارگذاری تنبل گردونه
  • رفع خطا: المنتور: مشکلات پاکسازی کش
  • رفع خطا: حذف تمام برچسب‌های mfunc/mclude از REST، خوراک‌ها و دیدگاه‌ها
  • رفع خطا: اعتبار‌سنجی بهتر برای پاکسازی دایرکتوری پرونده
  • رفع خطا: Bunny CDN: بخش پاکسازی نشانی در برگه تنظیمات
  • رفع خطا: کوچک‌سازی: جاوا اسکریپت خودکار: مدیریت صفت‌های async و defer با مقادیر
  • رفع خطا: Google PageSpeed: تغییرات Lighthouse
  • رفع خطا: Cloudflare: هشدار آرایه تعریف نشده
  • Fix: Rackspace API: Response code handling
  • رفع خطا: پیام‌های غیرفعال‌سازی لایسنس
  • به‌روزرسانی: ChartJS به نسخه ۴.۴.۱ به‌روزرسانی شد
  • بهبود: افزودن پیوندهای پشتیبانی

2.8.14

  • رفع خطا: منطق بهتر برای پردازش mfunc/mclude
  • بهبود: اعلان‌های پاکسازی منسجم‌تر

2.8.13

  • رفع خطا: پاکسازی محتوای mfunc/mclude در فراخوانی‌های REST
  • رفع خطا: رفع خطاهای بررسی افزونه
  • رفع خطا: نادیده گرفتن خطاهای simplexml
  • رفع خطا: متن دامنه‌های مفقود
  • رفع خطا: اطمینان از نوع آرایه برای صافی «w3tc_footer_comment»
  • بهبود: مبدل تصویر: بهینه‌سازی‌های WP_Query

2.8.12

  • Fix: Lazy load background-image style handling
  • رفع خطا: المنتور: همچنین پاکسازی کش شیء پس از پاکسازی کش برگه
  • رفع خطا: استانداردسازی مسیر خواندن کش برای اجتناب از متغیرها

2.8.11

  • رفع خطا: اجتناب از خطاهای کش شیء زائد در وردپرس ۶.۴ – ۶.۷
  • رفع خطا: نوار مدیریت: عدم نمایش «پاکسازی تمام کش‌ها به جز Cloudflare» در صورت غیرفعال بودن پس از پیکربندی
  • رفع خطا: مدیریت خطا برای دریافت‌های نشانی
  • رفع خطا: موارد فهرست برای کاربران غیر مدیر
  • به‌روزرسانی: کتابخانه بارگذاری تنبل: ۱۲.۲.۰ به ۱۹.۱.۲
  • بهبود: استفاده از SimpleXMLElement برای تجزیه نقشه‌های سایت و خوراک‌های RSS
  • بهبود: پاکسازی کش المنتور هنگامی که تمام کش‌ها پاکسازی می‌شوند

2.8.10

  • رفع خطا: مدیریت استثنا هنگام فعال‌سازی
  • رفع خطا: مدیریت wp_resource_hint برای آرایه‌ها
  • بهبود: افزودن هدر X-W3TC-CDN

2.8.9

  • رفع خطا: آزمایش AWS S3
  • رفع خطا: ارسال‌های Gravity Forms
  • رفع خطا: ویندوز: درون‌ریزی پیکربندی
  • رفع خطا: Redis: رفع هشدار PHP 8 برای مقدار incrBy که عدد صحیح نیست
  • رفع خطا: DbCache Cluster: بررسی mysqli_result قبل از استفاده از شیء
  • رفع خطا: هشدارهای PHP 8
  • رفع خطا: غلط‌های املایی در برگه‌های تنظیمات

2.8.8

  • رفع خطا: خطای جاوا اسکریپت در آمار استفاده
  • رفع خطا: مطابقت با عبارات باقاعده (Regex) برای گروه‌های کش کوکی
  • رفع خطا: سرویس تصویر: خطا هنگامی که get_current_screen() قبل از admin_init اجرا می‌شود
  • رفع خطا: مشکل زمان‌بندی _load_textdomain_just_in_time برای WP-CLI و راهنمای راه‌اندازی
  • رفع خطا: خطاهای «DOMDocument::loadHTML(): ID already defined in Entity»
  • رفع خطا: Cloudflare: ذخیره تنظیمات با مقدار ۰
  • به‌روزرسانی: حذف CDNهای StackPath، Limelight و Highwinds به دلیل پایان سرویس‌دهی

2.8.7

  • رفع خطا: ارسال زمینه ایمیل در نظرسنجی خروج
  • رفع خطا: تحلیل‌های راهنمای راه‌اندازی
  • به‌روزرسانی: اجازه حذف داده‌های افزونه هنگام نادیده گرفتن نظرسنجی خروج در زمان غیرفعال‌سازی
  • به‌روزرسانی: aws/aws-php-sns-message-validator (از ۱.۹.۰ به ۱.۹.۱)

2.8.6

  • رفع خطا: خطا در غیرفعال‌سازی هنگام انتخاب حذف داده‌های افزونه
  • رفع خطا: WP-CLI: فعال‌سازی کش شیء بسته به تنظیمات
  • رفع خطا: حذف تمام گزینه‌های وردپرس افزونه در صورت انتخاب هنگام غیرفعال‌سازی
  • بهبود: غیرفعال کردن خودکار کش شیء پس از به‌روزرسانی افزونه در صورت تنظیم روی دیسک و نمایش یک اعلان
  • بهبود: WP-CLI: افزودن تنظیمات برای فعال‌سازی کش شیء و پایگاه‌داده برای WP-CLI
  • بهبود: افزودن یک زمینه ایمیل به نظرسنجی خروج برای درخواست کمک
  • Enhancement: Added a pop-up modal to accept the risk when enabling Object Cache using Disk

2.8.5

  • رفع خطا: CDN: نام میزبان طولانی Amazon S3 برای منطقه پیش‌فرض
  • رفع خطا: WP-CLI: خطا در اجرای دستورات «wp w3tc alwayscached_*»
  • رفع خطا: WP-CLI: حذف HTML در خروجی
  • Enhancement: Simplified license messaging

2.8.4

  • رفع خطا: خطای جاوا اسکریپت در مودال غیرفعال‌سازی

2.8.3

  • رفع خطا: فراخوانی‌های HTTP API برای بررسی پرونده‌های مورد نیاز
  • رفع خطا: هدرهای امنیتی script-src-elem و style-src-attr
  • رفع خطا: مدیریت صفت‌های srcset چندخطی برای جایگزینی نشانی CDN
  • رفع خطا: کش قطعه: اصلاح منطق برای پیوندهای راهبری
  • رفع خطا: بررسی برای پرونده تغییر یافته advanced-cache.php در dropin/addin
  • رفع خطا: نام دایرکتوری گزارش منحصربه‌فرد شد
  • بهبود: افزودن نظرسنجی خروج با گزینه حذف داده‌های افزونه هنگام غیرفعال‌سازی
  • بهبود: کش قطعه: افزودن اعلان‌ها برای پیکربندی
  • بهبود: استفاده از admin-ajax برای پیوندهای محتوای زبانه راهنمای تنظیمات
  • به‌روزرسانی: مدیریت انواع MIME مربوط به XML در کش به‌صورت پیش‌فرض
  • به‌روزرسانی: افزودن گزینه‌های «immutable» برای هدرهای cache-control
  • به‌روزرسانی: افزودن توضیحات دستورات WP-CLI
  • به‌روزرسانی: اعلان‌های ابزارک CDN برای BunnyCDN
  • به‌روزرسانی: اعلان ابزارک مبدل تصویر

2.8.2

  • رفع خطا: افزودن بررسی‌های اضافی برای سطح دسترسی کاربر
  • رفع خطا: اطمینان از زمان‌بندی رویداد WP Cron برای جمع‌آوری زباله کش شیء (دیسک)
  • رفع خطا: افزودن بررسی‌های اضافی هنگام بارگذاری dropin کش شیء
  • رفع خطا: غیرفعال کردن کش پایگاه‌داده، شیء و قطعه هنگام استفاده از WP-CLI
  • رفع خطا: گزارش عیب‌یابی کش شیء
  • رفع خطا: زبانه‌های راهنمای سوالات متداول
  • به‌روزرسانی: استانداردهای کدنویسی

= ۲.۸.۱ =
* رفع خطا: اطمینان از زمان‌بندی رویدادهای WP Cron هنگام استفاده از جادوگر راهنمای راه‌اندازی و هنگام به‌روزرسانی
* رفع خطا: متغیر تعریف نشده هنگام فعال بودن گزارش عیب‌یابی پاکسازی کش شیء
* به‌روزرسانی: افزودن هشدارها در راهنمای راه‌اندازی و برگه تنظیمات عمومی هنگام استفاده از دیسک برای کش‌های پایگاه‌داده و شیء
* به‌روزرسانی: نادیده گرفتن کش‌های پایگاه‌داده و شیء هنگام استفاده از WP-CLI

2.8.0

  • ویژگی: افزونه جانبی همیشه کش شده (Always Cached)
  • ویژگی: پاکسازی کش‌ها بر اساس زمان‌بندی‌های WP-Cron
  • رفع خطا: Cloudflare: برخی تنظیمات به‌درستی ذخیره نشدند
  • رفع خطا: بررسی و به‌روزرسانی حالت/مجوزهای پرونده برای پرونده‌های کش
  • رفع خطا: مشکل در درخواست گواهی‌نامه‌ها برای برخی انواع سیستم پرونده غیرمستقیم
  • بهبود: افزودن یک اعلان مدیریت در صورتی که WP-Cron به درستی عمل نمی‌کند
  • بهبود: افزودن صافی‌های کش مرورگر
  • به‌روزرسانی: ارتقای کتابخانه JSMin به ۲.۴.۳
  • به‌روزرسانی: افزودن زبانه‌های خدمات ویژه